<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Vue</title>
    <script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
</head>
<body>

<div id="app_prop">
    <china message="CHINA"></china>
</div>
<div id="app_prop_1">
    <china message="RSA"></china>
</div>

<script>
    Vue.component('china', {
        //声明props
        props:['message'],
        template:'<span>{{message}}</span>'
    })
    let v = new Vue({
        el: '#app_prop',
        data: {}
    })
    let a = new Vue({
        el: '#app_prop_1',
        data: {}
    })
</script>

</body>
</html>